.profile-section {
    padding: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.profile-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 40px;
}

.profile-header {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.avatar-upload {
    text-align: center;
}

.avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
}

.upload-btn {
    padding: 8px 20px;
    background: #f5f5f5;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.upload-btn:hover {
    background: #e0e0e0;
}

.basic-info {
    position: relative;
    padding-bottom: 30px;
    margin-bottom: 40px;
    border-bottom: 1px solid #eef2f7;
}

.basic-info h3 {
    font-size: 24px;
    color: #333;
    margin-bottom: 30px;
    font-weight: 600;
}

.info-form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.form-group {
    margin-bottom: 25px;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    color: #333;
    font-weight: 500;
    font-size: 15px;
}

.form-group input,
.form-group textarea,
.tags-input input {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #eef2f7;
    border-radius: 12px;
    font-size: 15px;
    transition: all 0.3s;
    background: #f8fafc;
    color: #333;
    min-width: 400px;
}

.form-group input:focus,
.form-group textarea:focus,
.tags-input input:focus {
    border-color: #4a90e2;
    outline: none;
    box-shadow: 0 0 0 4px rgba(74, 144, 226, 0.1);
    background: #fff;
}

.section {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #eef2f7;
    background: #fff;
    border-radius: 12px;
    padding: 30px;
}

.section h3 {
    font-size: 20px;
    color: #333;
    margin-bottom: 25px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section h3::before {
    content: '';
    width: 4px;
    height: 20px;
    background: #4a90e2;
    border-radius: 2px;
}

.tags-input {
    margin-top: 15px;
}

.tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
}

.tag {
    background: #f0f7ff;
    color: #4a90e2;
    padding: 8px 16px;
    border-radius: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    transition: all 0.3s;
    border: 1px solid rgba(74, 144, 226, 0.2);
}

.tag:hover {
    background: #e3f2fd;
    transform: translateY(-1px);
}

.remove-tag {
    background: none;
    border: none;
    color: #4a90e2;
    cursor: pointer;
    font-size: 18px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.remove-tag:hover {
    color: #357abd;
    transform: scale(1.1);
}

.form-group textarea {
    min-height: 200px;
    resize: vertical;
    line-height: 1.6;
    min-width: 100%;
    width: 100%;
    padding: 20px;
    font-size: 16px;
    border: 2px solid #eef2f7;
    border-radius: 12px;
    background: #f8fafc;
    transition: all 0.3s;
}

.form-group textarea:focus {
    border-color: #4a90e2;
    outline: none;
    box-shadow: 0 0 0 4px rgba(74, 144, 226, 0.1);
    background: #fff;
}

.form-group textarea::placeholder {
    color: #94a3b8;
}

.contact-form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.profile-actions {
    margin-top: 40px;
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #eef2f7;
}

.save-btn {
    background: linear-gradient(135deg, #4a90e2 0%, #357abd 100%);
    color: #fff;
    border: none;
    padding: 16px 50px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.2);
}

.save-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 144, 226, 0.3);
}

.save-btn:active {
    transform: translateY(0);
}

@media (max-width: 768px) {
    .profile-section {
        padding: 20px;
    }

    .profile-card {
        padding: 30px;
    }

    .info-form,
    .contact-form {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .form-group input,
    .form-group textarea,
    .tags-input input {
        padding: 12px 15px;
        min-width: 100%;
    }

    .save-btn {
        width: 100%;
        padding: 14px 20px;
    }
}

/* 专门为个人简介和擅长领域设置更大的文本框 */
.section .form-group textarea {
    min-height: 250px;
    padding: 25px;
}

/* 个人简介部分 */
.bio-section {
    background: #fff;
    border-radius: 16px;
    padding: 30px;
    margin-top: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.bio-section h3 {
    font-size: 18px;
    color: #2d3748;
    margin-bottom: 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
}

.bio-section h3::before {
    content: '';
    width: 4px;
    height: 18px;
    background: linear-gradient(to bottom, #4a90e2, #357abd);
    border-radius: 2px;
}

.bio-form {
    position: relative;
}

.bio-form textarea {
    width: 100%;
    min-height: 200px;
    padding: 25px;
    font-size: 15px;
    line-height: 1.8;
    color: #2d3748;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    background: #f8fafc;
    transition: all 0.3s ease;
    resize: vertical;
}

.bio-form textarea:focus {
    border-color: #4a90e2;
    background: #fff;
    outline: none;
    box-shadow: 0 0 0 4px rgba(74, 144, 226, 0.1);
}

.bio-form textarea::placeholder {
    color: #a0aec0;
}

.bio-tips {
    margin-top: 15px;
    padding: 15px 20px;
    background: #f0f7ff;
    border-radius: 8px;
    border-left: 4px solid #4a90e2;
}

.bio-tips h4 {
    font-size: 14px;
    color: #2d3748;
    margin-bottom: 8px;
    font-weight: 500;
}

.bio-tips ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.bio-tips li {
    color: #4a5568;
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 6px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.bio-tips li::before {
    content: '•';
    color: #4a90e2;
    font-weight: bold;
}

.bio-tips li:last-child {
    margin-bottom: 0;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .bio-section {
        padding: 25px;
        margin-top: 25px;
    }

    .bio-form textarea {
        min-height: 250px;
        padding: 20px;
        font-size: 15px;
    }

    .bio-tips {
        padding: 12px 15px;
    }
}

/* 咨询领域样式 */
.fields-section {
    margin-top: 20px;
}

.fields-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.field-item {
    background: #f8f9fa;
    border: 2px solid #eef2f7;
    border-radius: 12px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s;
}

.field-item:hover {
    border-color: #4a90e2;
    background: #f0f7ff;
}

.field-item.selected {
    background: #e3f2fd;
    border-color: #4a90e2;
}

.field-item h4 {
    color: #333;
    margin-bottom: 8px;
    font-size: 16px;
}

.field-item p {
    color: #666;
    font-size: 14px;
    line-height: 1.4;
}

.fields-hint {
    color: #666;
    font-size: 14px;
    margin-top: 10px;
}

.fields-hint p {
    margin-bottom: 5px;
}

/* 只读输入框样式 */
.input-readonly {
    background-color: #f5f7fa !important;
    border-color: #eef2f7 !important;
    cursor: not-allowed !important;
    color: #666 !important;
    pointer-events: none;
}

.input-readonly:hover,
.input-readonly:focus {
    border-color: #eef2f7 !important;
    box-shadow: none !important;
    outline: none !important;
}

/* 添加提示样式 */
.form-group input[readonly]+.readonly-tip {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 12px;
}